#ifndef __GUI_TEXT_H
#define __GUI_TEXT_H

#include<uview.h>
#include<dotfont.h>
#include"gui_surface.h"

int gui_text_to_surface(char *text,uint32_t color,char *family,gui_surface_t *surface,int x,int y);
int gui_text_to_surface_ex(char *text,char ch,uint32_t color,char *family,gui_surface_t *surface,int x,int y);
int gui_text_init();

uint8_t gui_text_char_height();
uint8_t gui_text_char_width();

#endif 